package buaa.paas.dao;

import buaa.paas.model.App;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface AppMapper {

    List<App> findApp(Integer UserID);

    int createApp(App app);

    void deleteApp(Integer AppID);

    void updateAppName(@Param("NewName") String NewName,@Param("AppID") int AppID);

}
